Rails.application.routes.draw do

  post 'clients'                => 'clients#create'
  post 'clients/:name/ping'     => 'clients#ping'
  post 'clients/:name/rooms'    => 'clients#rooms'
  post 'clients/:name/bridge'   => 'clients#bridge'
  post 'clients/:name/message'  => 'clients#message'
  post 'clients/:name/messages' => 'clients#messages'

  # test clients
  root 'test_clients#home'
  get  'test_clients'      => 'test_clients#index'
  post 'test_clients'      => 'test_clients#test_create'
  post 'test_clients/cron' => 'test_clients#cron'

end
